var express=require('express');
var router=express.Router();

var prePlanManage=require('../controllers/prePlanManageCtl.js');
//感觉下面是标配了
var GetPageQuantity=prePlanManage.GetPageQuantity;//默认加载总页数
var FirstShow=prePlanManage.FirstShow;
var ShowPage=prePlanManage.ShowPage;
var FetchPrePlan=prePlanManage.FetchPrePlan;
var FetchPrePlanFormGuest=prePlanManage.FetchPrePlanFormGuest;


var VagueName=prePlanManage.VagueName;
//以上四个

var SavePrePlan=prePlanManage.SavePrePlan;
var PageQuantity=prePlanManage.PageQuantity; 

var PageShowPage=prePlanManage.PageShowPage;
var FetchGuestPreplan=prePlanManage.FetchGuestPreplan;

router.get('/getPageQuantity',GetPageQuantity);//默认加载总页数
router.get('/firstShow',FirstShow);
router.post('/showPage',ShowPage);
router.post('/fetchPrePlan',FetchPrePlan);//
router.post('/fetchPrePlanFormGuest',FetchPrePlanFormGuest);

router.post('/savePrePlan',SavePrePlan);
router.post('/pageQuantity',PageQuantity);

router.post('/pageShowPage',PageShowPage);
router.post('/vagueName',VagueName);

router.post('/fetchGuestPreplan',FetchGuestPreplan);

module.exports=router;